]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
popupMenu: fix spacing between columns
authorDan Winship <danw@gnome.org>
Thu, 28 Oct 2010 18:03:45 +0000 (14:03 -0400)
committerDan Winship <danw@gnome.org>
Thu, 28 Oct 2010 18:03:45 +0000 (14:03 -0400)
This patch didn't get updated for the st_theme_node_get_spacing() change.

js/ui/popupMenu.js

index 23969a6a5e0483d4e3a9b85b447900b31682c8df..56c7013c450c7a4fcbb01c4ebe5836c26ca4b8b1 100644 (file)
@@ -81,9 +81,7 @@ PopupBaseMenuItem.prototype = {
     },
 
     _onStyleChanged: function (actor) {
-        let themeNode = actor.get_theme_node();
-        let [found, spacing] = themeNode.get_length('spacing', false);
-        this._spacing = found ? spacing : 0;
+        this._spacing = actor.get_theme_node().get_length('spacing');
     },
 
     _hoverChanged: function (actor) {